<?php


require 'db_conn.php';

$sql="SELECT * FROM service where isshow=1 and id=1 ORDER BY id desc";
$ser=$db->query($sql);
$se=$ser->fetch_assoc();

$sql="SELECT * FROM service where isshow=1 ORDER BY id asc  limit 2,100";
$er=$db->query($sql);
$s=$er->fetch_all(MYSQLI_BOTH);


require 'service_html.php';
$er and $ser->free();
$db->close();
